/* 编辑状态容器样式 */
.markdown-node-container.editing {
  border: 2px solid #1890ff !important;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2) !important;
  background-color: #fff !important;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* 编辑器样式 */
.markdown-node-editor {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  padding: 8px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  resize: none !important;
  outline: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
  min-height: 40px !important;
  color: #333 !important;
}

/* 编辑器焦点状态 */
.markdown-node-editor:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* 编辑器占位符样式 */
.markdown-node-editor::placeholder {
  color: #999 !important;
  opacity: 0.7;
}

/* 编辑状态时隐藏resize拖拽点 */
.markdown-node-container.editing + .svg-resize-container {
  display: none !important;
}

/* 编辑状态动画效果 */
.markdown-node-container.editing {
  animation: editingPulse 0.3s ease-in-out;
}